package com.bluedot.www.core.pojo.DO;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * <p>
 * 客户实体
 * </p>
 *
 * @author zhouxuan
 * @since 2021-08-07
 */
public class Customer implements Serializable {

    /**
     * 重要程度：普通
     */
    public final static Integer NORMAL = 5;
    /**
     * 重要程度：一般
     */
    public final static Integer MEDIUM = 10;
    /**
     * 重要程度：重要
     */
    public final static Integer IMPORTANT = 15;
    private static final long serialVersionUID = 1L;
    /**
     * 客户信息表
     */
    private Long id;

    /**
     * 客户名称，字符2~10
     */
    private String name;

    /**
     * 性别（0：男，1：女）
     */
    private Integer gender;

    /**
     * 年龄
     */
    private Date birthday;

    /**
     * 职业，10个字符以下
     */
    private String professional;

    /**
     * 手机号
     */
    private String phoneNum;

    /**
     * 兴趣爱好，用户直接输入
     */
    private String interest;

    /**
     * 对客户的描述信息,50个字符以下
     */
    private String description;

    /**
     * 心理咨询师id
     */
    private Long userId;

    /**
     * 分组信息，如果未分组则是默认分组
     */
    private Long groupId;

    /**
     * 籍贯，30个字符以下
     */
    private String nativePlace;

    /**
     * 现在居住的地方
     */
    private String address;

    /**
     * 病史
     */
    private String medicalHistory;

    /**
     * 表示客户的重要程度（5：表示一般，10：表示中等，15：表示重要），默认为一般
     */
    private Integer sort;

    /**
     * 逻辑删除，0：表示未删除
     */
    private Integer isDeleted;

    /**
     * 客户是否存在未分析的记录(0：表示没有，1：表示有)
     */
    private Integer status;

    private Timestamp gmtCreate;

    private Timestamp gmtModified;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getProfessional() {
        return professional;
    }

    public void setProfessional(String professional) {
        this.professional = professional;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getInterest() {
        return interest;
    }

    public void setInterest(String interest) {
        this.interest = interest;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMedicalHistory() {
        return medicalHistory;
    }

    public void setMedicalHistory(String medicalHistory) {
        this.medicalHistory = medicalHistory;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getDeleted() {
        return isDeleted;
    }

    public void setDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Timestamp getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Timestamp getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Timestamp gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", name=" + name +
                ", gender=" + gender +
                ", birthday=" + birthday +
                ", professional=" + professional +
                ", phoneNum=" + phoneNum +
                ", interest=" + interest +
                ", description=" + description +
                ", userId=" + userId +
                ", groupId=" + groupId +
                ", nativePlace=" + nativePlace +
                ", address=" + address +
                ", medicalHistory=" + medicalHistory +
                ", sort=" + sort +
                ", isDeleted=" + isDeleted +
                ", status=" + status +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                "}";
    }
}
